<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- 引入JQuery  js-->
	<script src="static/js/jquery-3.2.1.min.js"></script>
	<script src="assets/js/amazeui.min.js"></script>
	<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>

<input type="hidden" id="professorInfo" value="${sessionScope.sessionPinfo }">
<ul class="am-nav" id="nav">
	<!-- 1 -->
	<li>
		<a href="professor/index.do">
			&nbsp;&nbsp;&nbsp;<sapn class="am-icon-tv" />&nbsp;&nbsp;&nbsp;首页
		</a>
	</li>
	<!-- 2 -->
	<li class="am-nav-header">
		<span>
			<i style="color: cornflowerblue;" class="far fa-hand-point-right"></i>
		</span>
		&nbsp;&nbsp;&nbsp;个人中心
	</li>
	<li>
		<a href="professor/info.do">
		&nbsp;&nbsp;&nbsp;<sapn class="am-icon-user" />&nbsp;&nbsp;&nbsp;&nbsp;个人信息
		</a>
	</li>
	<li>
		<a href="professor/security.do">
			&nbsp;&nbsp;&nbsp;<sapn><i class="fab fa-expeditedssl"></i></sapn>&nbsp;&nbsp;&nbsp;安全设置
		</a>
	</li>
	<!-- 3 -->
	<li class="am-nav-header">
		<span>
			<i style="color: cornflowerblue;" class="far fa-hand-point-right"></i>
		</span>
		&nbsp;&nbsp;&nbsp;评估管理
	</li>
	<li>
		<a href="professor/assessMaterial.do">
			&nbsp;&nbsp;&nbsp;<sapn class="am-icon-file" />&nbsp;&nbsp;&nbsp;&nbsp;材料总结
		</a>
	</li>
	<li>
		<a href="professor/assessSummary.do">
			&nbsp;&nbsp;&nbsp;<sapn class="am-icon-gg" />&nbsp;&nbsp;&nbsp;评分总结
		</a>
	</li>
	<li>
		<a href="professor/assessSchedule.do">
			&nbsp;&nbsp;&nbsp;<sapn class="am-icon-bar-chart" />&nbsp;&nbsp;&nbsp;评估进度
		</a>
	</li>
	<!-- 4 -->
	<li class="am-nav-header">
		<span>
			<i style="color: cornflowerblue;" class="far fa-hand-point-right"></i>
		</span>
		&nbsp;&nbsp;&nbsp;其他
	</li>
	<li>
		<a href="logout.do">
			&nbsp;&nbsp;&nbsp;<sapn class="am-icon-times" />&nbsp;&nbsp;&nbsp;退出系统
		</a>
	</li>
	<li class="am-nav-divider"></li>
	<li class="am-disabled"><a href="javascript:;">Responsive</a></li>
</ul>

<script type="text/javascript">
	$(function(){
		var pInfo = $('#professorInfo').val();
		if(pInfo==0){
			$("#nav li:nth-child(4)").addClass("am-disabled");
			$("#nav li:nth-child(6)").addClass("am-disabled");	
			$("#nav li:nth-child(7)").addClass("am-disabled");
			$("#nav li:nth-child(8)").addClass("am-disabled");
		}
	});

		
</script>
